package com.bawei.wyg.mycommerce.databinding.nor;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

import android.os.Bundle;

import com.bawei.wyg.mycommerce.R;
import com.bawei.wyg.mycommerce.databinding.ActivityBasicBinding;

public class BasicActivity extends AppCompatActivity {
    String content="小蠢货";
    private ActivityBasicBinding binding;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding= DataBindingUtil.setContentView(this,R.layout.activity_basic);
        binding.setContent(content);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        binding.unbind();
    }
}